import { AppRouteRecordRaw } from "../../types";

const DemoTable: AppRouteRecordRaw[] = [
    {
      path: "/demotable",
      name: "demotable",
      meta: {
        title: "表格",
        icon: "school",
      },
      component: () => import('/@/layouts/index.vue'),
      children: [
        {
          path: "vue/attrs",
          name: "attrs",
          meta: {
            title: "$attrs 案例",
          },
          component: () => import("/@/views/table/vueTest.vue"),
        },
        {
          path: "table/table1",
          name: "table1",
          meta: {
            title: "table 基础",
          },
          component: () => import("/@/views/table/table1.vue"),
        },
        {
          path: "table/table2",
          name: "table2",
          meta: {
            title: "table 详情页",
          },
          component: () => import("/@/views/table/table2.vue"),
        },
        {
          path: "table/table3",
          name: "table3",
          meta: {
            title: "table 合计",
          },
          component: () => import("/@/views/table/table3.vue"),
        }
      ],
      }
  ];

  export default DemoTable;